﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace THEMXOASUA
{
    /// <summary>
    /// Interaction logic for WINDOWCHINH.xaml
    /// </summary>
    public partial class WINDOWCHINH : Window
    {
        public WINDOWCHINH()
        {
            InitializeComponent();
        }
        HOADON hd = new HOADON();
        HOADONWIN hdw = new HOADONWIN();
        LOGINWINDOW log = new LOGINWINDOW();
        private void Window_Loaded_1(object sender, RoutedEventArgs e)
        {
            LOGINWINDOW lg = new LOGINWINDOW();
            lg.ShowDialog();//xuất hiện màn hình login.
        }

        private void dsHoaDon_Click(object sender, RoutedEventArgs e)
        {
            DSHOADON hdw = new DSHOADON();
            hdw.ShowDialog();
        }

        private void dshd_Click_1(object sender, RoutedEventArgs e)
        {
            DSHOADON hdw = new DSHOADON();
            hdw.ShowDialog();
        }

        private void themmoi_Click_1(object sender, RoutedEventArgs e)
        {
            HOADONWIN hdw = new HOADONWIN();
            hdw.ShowDialog();
        }

        private void thoat_Click_2(object sender, RoutedEventArgs e)
        {
            this.Close();
        }

        private void LOGIN_Click(object sender, RoutedEventArgs e)
        {
            LOGINWINDOW lo = new LOGINWINDOW();
            lo.ShowDialog();//xuất hiện màn hình đăng nhập
        }

        private void Thoat_Click_1(object sender, RoutedEventArgs e)
        {
            this.Close();
        }
 
    }
}
